<%@ page contentType="text/html; charset=utf-8" %>
   <tr>
     <td>
       <table class="dbborder" width="100%" border="0" cellpadding="0" cellspacing="1">
         <tr class="rowHead">
           <td height="20" width="5%" align="center"><input type="checkbox" id="checkAll" onclick="javascript:checkAllOrNot();"></td>
           <td height="20" width="15%" nowrap align="center" class="globalTextBold">模板编号</td>
           <td height="20" width="60%" nowrap align="center" class="globalTextBold">模板描述</td>
           <td height="20" width="10%" nowrap align="center" class="globalTextBold">默认启用</td>
         </tr>
         <c:if test="${empty defaultTemplates}">
          <tr class="rowEven">
           <td colspan="7" align="center" class="globalText">无数据</td>
          </tr>
					</c:if>
         <c:forEach var="defaultTemplate" items="${defaultTemplates}" varStatus="status">
          <c:choose>
           <c:when test="${status.index % 2 == 0}">
           <tr class="rowEven">
           </c:when>
           <c:otherwise>
           <tr class="rowOdd">
           </c:otherwise>
          </c:choose>
            <td height="20" width="20" align="center"><input type="checkbox" name="cbIds" value="${defaultTemplate.id}"" onclick="javascript:checkPerBox();"></td>
            <td height="20" class="globalText">${defaultTemplate.customId}</td>
            <td height="20" class="globalText">${defaultTemplate.description}</td>
            <td height="20" class="globalText" align="center">${defaultTemplate.enabled ? '是' : '否'}</td>
            <input type="hidden" name="templateEnabledFlg" value="${defaultTemplate.enabled}" >
<!--            <input type="hidden" name="msgTemplateCommunicationEnabledFlg" value="{defaultTemplate.msgCommunicationEnabled}" >-->
<!--            <input type="hidden" name="voiceTemplateCommunicationEnabledFlg" value="{defaultTemplate.voiceCommunicationEnabled}" >-->
          </tr>
         </c:forEach>
       </table>
     </td>
   </tr>